package com.ontheroad.mysql.path.event;

import com.ontheroad.path.model.Point;
import org.springframework.context.ApplicationEvent;

import java.util.List;

/**
 * Created by kedong on 2017/8/11 0011.
 */
public class SavePathEvent extends ApplicationEvent {
    private static final long serialVersionUID = -567773468764241769L;

    /**
     * Create a new ApplicationEvent.
     *
     * @param source the component that published the event (never {@code null})
     */
    public SavePathEvent(Object source) {
        super(source);
    }

    private List<Point> pointList;
    private Integer userId;
    private Integer pathUserId;
    private Integer pathSysId;

    public List<Point> getPointList() {
        return pointList;
    }

    public void setPointList(List<Point> pointList) {
        this.pointList = pointList;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getPathUserId() {
        return pathUserId;
    }

    public void setPathUserId(Integer pathUserId) {
        this.pathUserId = pathUserId;
    }

    public Integer getPathSysId() {
        return pathSysId;
    }

    public void setPathSysId(Integer pathSysId) {
        this.pathSysId = pathSysId;
    }
}
